/******************************************************************************
 * Copyright (C) 2017 Chengdu Dlhd information industry co. LTD.
 * All Rights Reserved.
 * 本软件为成都顶联互动信息产业有限公司开发研制。未经本公司正式书面同意，其他任何个人、团体不得使用、复制、修改或发布本软件.
 *****************************************************************************/
package net.dgg.dggcloud.service.iboss.entity;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * <p>@Title 生产订单 - 节点操作记录表</p>
 * <p>@Description 类功能描述</p>
 * <p>@Version 1.0.0 版本号</p>
 * <p>@author @author 孙上峰</p>
 * <p>@date 2017-11-27 14:40:14 创建日期</p>
 * <p>Copyright © dgg group.All Rights Reserved. 版权信息</p>
 */
@Entity
@Table(name = "sc_product_node_operating")
public class ScProNodeOperating extends BaseEntity {

    //数据库表名
    public static final String TABLE_NAME = "sc_product_node_operating";

    //生产订单id
    @Column(name = "pro_product_id")
    private Long proProductId;

    //生产订单编号
    @Column(name = "pro_product_no")
    private String proProductNo;

    //完成节点id
    @Column(name = "noed_id")
    private Long noedId;

    //完成节点名称
    @Column(name = "node_name")
    private String nodeName;

    //完成节点状态
    @Column(name = "node_state")
    private String nodeState;

    //上个完成节点id
    @Column(name = "last_node_id")
    private Long lastNodeId;

    //上一个完成节点名称
    @Column(name = "last_node_name")
    private String lastNodeName;

    //上一个完成节点时间
    @Column(name = "last_node_time")
    private Date lastNodeTime;

    //评估公司
    @Column(name = "evaluation_company")
    private String evaluationCompany;

    //评估价格
    @Column(name = "evaluated_price")
    private Long evaluatedPrice;

    //征信
    @Column(name = "credit")
    private String credit;

    //申请金额
    @Column(name = "applied_amount")
    private Long appliedAmount;

    //签申请时间
    @Column(name = "application_time")
    private Date applicationTime;

    //报审时间
    @Column(name = "audit_tiem")
    private Date auditTiem;

    //审核通过时间
    @Column(name = "approval_time")
    private Date approvalTime;

    //通过金额
    @Column(name = "approved_amount")
    private Long approvedAmount;

    //结案银行
    @Column(name = "settlement_bank")
    private String settlementBank;

    //注销时间
    @Column(name = "logoff_time")
    private Date logoffTime;

    //办抵押时间
    @Column(name = "mortgage_time")
    private Date mortgageTime;
    // 取他权时间
    @Column(name = "take_his_time")
    private Date takeHisTime;

    //放款时间
    @Column(name = "loan_time")
    private Date loanTime;

    //放款时长
    @Column(name = "loan_duration")
    private Integer loanDuration;

    @Column(name = "loan_money")
    private Long loanMoney; // 放款金额

    //还款到期日
    @Column(name = "next_payment_date")
    private Date nextPaymentDate;

    //还款时间
    @Column(name = "repayment_time")
    private String repaymentTime;

    //还款方式(1分期 2其他)
    @Column(name = "repayment_mode")
    private Integer repaymentMode;

    //其他说明
    @Column(name = "other_description")
    private String otherDescription;

    //还款金额
    @Column(name = "repayment_amount")
    private Long repaymentAmount;

    //后台结算金额
    @Column(name = "settlement_amount")
    private Long settlementAmount;

    //渠道返点
    @Column(name = "channel_rebates")
    private Long channelRebates;

    //对外返点
    @Column(name = "foreign_rebates")
    private Long foreignRebates;

    //下次跟进时间
    @Column(name = "next_follow_time")
    private Date nextFollowTime;

    //还款时间
    @Column(name = "updatenode_remark")
    private String updatenoderemark;

    public Long getProProductId() {
        return proProductId;
    }

    public void setProProductId(Long proProductId) {
        this.proProductId = proProductId;
    }

    public String getProProductNo() {
        return proProductNo;
    }

    public void setProProductNo(String proProductNo) {
        this.proProductNo = proProductNo;
    }

    public Long getNoedId() {
        return noedId;
    }

    public void setNoedId(Long noedId) {
        this.noedId = noedId;
    }

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    public Long getLastNodeId() {
        return lastNodeId;
    }

    public void setLastNodeId(Long lastNodeId) {
        this.lastNodeId = lastNodeId;
    }

    public String getLastNodeName() {
        return lastNodeName;
    }

    public void setLastNodeName(String lastNodeName) {
        this.lastNodeName = lastNodeName;
    }

    public String getEvaluationCompany() {
        return evaluationCompany;
    }

    public void setEvaluationCompany(String evaluationCompany) {
        this.evaluationCompany = evaluationCompany;
    }

    public Long getEvaluatedPrice() {
        return evaluatedPrice;
    }

    public void setEvaluatedPrice(Long evaluatedPrice) {
        this.evaluatedPrice = evaluatedPrice;
    }

    public String getCredit() {
        return credit;
    }

    public void setCredit(String credit) {
        this.credit = credit;
    }

    public Long getAppliedAmount() {
        return appliedAmount;
    }

    public void setAppliedAmount(Long appliedAmount) {
        this.appliedAmount = appliedAmount;
    }

    public Date getApplicationTime() {
        return applicationTime;
    }

    public void setApplicationTime(Date applicationTime) {
        this.applicationTime = applicationTime;
    }

    public Date getAuditTiem() {
        return auditTiem;
    }

    public void setAuditTiem(Date auditTiem) {
        this.auditTiem = auditTiem;
    }

    public Date getApprovalTime() {
        return approvalTime;
    }

    public void setApprovalTime(Date approvalTime) {
        this.approvalTime = approvalTime;
    }

    public Long getApprovedAmount() {
        return approvedAmount;
    }

    public void setApprovedAmount(Long approvedAmount) {
        this.approvedAmount = approvedAmount;
    }

    public String getSettlementBank() {
        return settlementBank;
    }

    public void setSettlementBank(String settlementBank) {
        this.settlementBank = settlementBank;
    }

    public Date getLogoffTime() {
        return logoffTime;
    }

    public void setLogoffTime(Date logoffTime) {
        this.logoffTime = logoffTime;
    }

    public Date getMortgageTime() {
        return mortgageTime;
    }

    public void setMortgageTime(Date mortgageTime) {
        this.mortgageTime = mortgageTime;
    }

    public Date getLoanTime() {
        return loanTime;
    }

    public void setLoanTime(Date loanTime) {
        this.loanTime = loanTime;
    }

    public Integer getLoanDuration() {
        return loanDuration;
    }

    public void setLoanDuration(Integer loanDuration) {
        this.loanDuration = loanDuration;
    }

    public Date getNextPaymentDate() {
        return nextPaymentDate;
    }

    public void setNextPaymentDate(Date nextPaymentDate) {
        this.nextPaymentDate = nextPaymentDate;
    }

    public String getRepaymentTime() {
        return repaymentTime;
    }

    public void setRepaymentTime(String repaymentTime) {
        this.repaymentTime = repaymentTime;
    }

    public Integer getRepaymentMode() {
        return repaymentMode;
    }

    public void setRepaymentMode(Integer repaymentMode) {
        this.repaymentMode = repaymentMode;
    }

    public String getOtherDescription() {
        return otherDescription;
    }

    public void setOtherDescription(String otherDescription) {
        this.otherDescription = otherDescription;
    }

    public Long getRepaymentAmount() {
        return repaymentAmount;
    }

    public void setRepaymentAmount(Long repaymentAmount) {
        this.repaymentAmount = repaymentAmount;
    }

    public Long getSettlementAmount() {
        return settlementAmount;
    }

    public void setSettlementAmount(Long settlementAmount) {
        this.settlementAmount = settlementAmount;
    }

    public Long getChannelRebates() {
        return channelRebates;
    }

    public void setChannelRebates(Long channelRebates) {
        this.channelRebates = channelRebates;
    }

    public Long getForeignRebates() {
        return foreignRebates;
    }

    public void setForeignRebates(Long foreignRebates) {
        this.foreignRebates = foreignRebates;
    }

    public Date getNextFollowTime() {
        return nextFollowTime;
    }

    public void setNextFollowTime(Date nextFollowTime) {
        this.nextFollowTime = nextFollowTime;
    }

    public Date getTakeHisTime() {
        return takeHisTime;
    }

    public void setTakeHisTime(Date takeHisTime) {
        this.takeHisTime = takeHisTime;
    }

    public Date getLastNodeTime() {
        return lastNodeTime;
    }

    public void setLastNodeTime(Date lastNodeTime) {
        this.lastNodeTime = lastNodeTime;
    }

    public String getUpdatenoderemark() {
        return updatenoderemark;
    }

    public void setUpdatenoderemark(String updatenoderemark) {
        this.updatenoderemark = updatenoderemark;
    }

    public String getNodeState() {
        return nodeState;
    }

    public void setNodeState(String nodeState) {
        this.nodeState = nodeState;
    }

    public Long getLoanMoney() {
        return loanMoney;
    }

    public void setLoanMoney(Long loanMoney) {
        this.loanMoney = loanMoney;
    }
}
